<fieldset class="solid">
	<legend>#((book == null||book.id == null)?'创建图书':'修改图书')</legend>
	<input type="hidden" name="book.id" value="#(book.id??)" />
	<div>
		<label>图书索书号:</label>
		<input type="text" name="book.bookid" value="#(book.bookid??)" />#(bookidMsg)
	</div>
	<div>
		<label>图书副本编号:</label>
		<input type="text" name="book.bookcopyid" value="#(book.bookcopyid??)" />#(bookcopyidMsg)
	</div>
	<div>
		<label>图书名称:</label>
		<input type="text" name="book.bookname" value="#(book.bookname??)" />#(booknameMsg)
	</div>
	<div>
		<label>图书作者:</label>
		<input type="text" name="book.bookauthor" value="#(book.bookauthor??)" />#(bookauthorMsg)
	</div>
	<div>
		<label>所属书架:</label>
		<select name="book.bookshelfid">
			       <option value="">请选择所属书架</option>
			#for(x : bookshelfs)
				#if(book.bookshelfid??!=null && x.bookshelfid == book.bookshelfid)
				   <option value="#(x.bookshelfid)" selected="selected">#(x.bookshelfno)</option>
				#else
			       <option value="#(x.bookshelfid)">#(x.bookshelfno)</option>
			    #end
			#end
		</select>#(bookshelfidMsg)
		<!--<input type="text" name="book.bookshelfid" value="#(book.bookshelfid??)" />-->
	</div>
	<div>
		<label>&nbsp;</label>
		<input value="#((book == null||book.id == null)?'创建':'修改')" type="submit">
	</div>
</fieldset>